<?php

return [
    // kuerp模块菜单 - 按照层级结构组织
    'kuerp' => [
        'title' => '进销存管理',
        'children' => [
            // 购货模块
            'purchase' => [
                'title' => '购货',
                'children' => [
                    'goods_purchase' => [
                        'title' => '购货单',
                    ],
                    'goods_purchase_order' => [
                        'title' => '购货订单',
                    ],
                    'goods_purchase_info' => [
                        'title' => '商品采购明细',
                    ],
                    'goods_purchase_order_info' => [
                        'title' => '购货订单详情',
                    ],
                    'goods_purchase_summary' => [
                        'title' => '采购汇总管理',
                    ],
                    'goods_purchase_summarys' => [
                        'title' => '采购汇总管理',
                    ],
                    'goods_exchange' => [
                        'title' => '购货退货单',
                    ],
                    'goods_exchange_info' => [
                        'title' => '退货明细',
                    ],
                    'cost' => [
                        'title' => '采购销售费用清单',
                    ],
                    'payment' => [
                        'title' => '付款单',
                    ],
                    'payment_log' => [
                        'title' => '采购付款一览管理',
                    ],
                    'invoicing' => [
                        'title' => '采购开票管理',
                    ],
                    'invoicing_log' => [
                        'title' => '采购开票管理',
                    ],
                ]
            ],
            
            // 销货模块
            'sales' => [
                'title' => '销货',
                'children' => [
                    'goods_sales' => [
                        'title' => '销货单',
                    ],
                    'goods_sales_order' => [
                        'title' => '销货订单',
                    ],
                    'goods_sales_info' => [
                        'title' => '商品销售明细',
                    ],
                    'goods_sales_order_info' => [
                        'title' => '销货订单详情',
                    ],
                    'goods_sales_exchange' => [
                        'title' => '销货退货单',
                    ],
                    'goods_sales_exchange_info' => [
                        'title' => '退货明细',
                    ],
                    'goods_sales_profit' => [
                        'title' => '销售利润管理',
                    ],
                    'goods_sales_summary' => [
                        'title' => '销售汇总管理',
                    ],
                    'goods_sales_summaryc' => [
                        'title' => '销售汇总管理',
                    ],
                    'goods_sales_summarys' => [
                        'title' => '销售汇总管理',
                    ],
                    'collection' => [
                        'title' => '收款单',
                    ],
                    'sales_invoicing' => [
                        'title' => '销货开票管理',
                    ],
                    'sales_invoicing_log' => [
                        'title' => '销货开票管理',
                    ],
                    'sales_payment_log' => [
                        'title' => '销货收款一览管理',
                    ],
                    'salesprofit' => [
                        'title' => '销售利润表',
                    ],
                ]
            ],
            
            // 仓库模块
            'warehouse' => [
                'title' => '仓库',
                'children' => [
                    'stores' => [
                        'title' => '仓库管理',
                    ],
                    'warehouse' => [
                        'title' => '其他出库单',
                    ],
                    'warehousing' => [
                        'title' => '其他入库单',
                    ],
                    'inventory' => [
                        'title' => '盘点',
                    ],
                    'inventory_serial' => [
                        'title' => '序列号盘点',
                    ],
                    'goods_stock' => [
                        'title' => '商品库存管理',
                    ],
                    'goods_batch_stock' => [
                        'title' => '商品批次库存管理',
                    ],
                    'goods_log' => [
                        'title' => '商品收发明细管理',
                    ],
                    'goods_log_summary' => [
                        'title' => '商品收发明细汇总',
                    ],
                    'goods_batch' => [
                        'title' => '商品批次管理',
                    ],
                    'goods_batch_info' => [
                        'title' => '商品批次详情管理',
                    ],
                    'goods_batch_log' => [
                        'title' => '批次跟踪管理',
                    ],
                    'goods_serial' => [
                        'title' => '商品序列号',
                    ],
                    'goods_serial_log' => [
                        'title' => '商品序列跟踪号',
                    ],
                    'goods_serial_status' => [
                        'title' => '商品序列号状态',
                    ],
                    'auxiliary' => [
                        'title' => '商品辅助属性',
                    ],
                    'unit' => [
                        'title' => '计量单位',
                    ],
                    'unit_conversion' => [
                        'title' => '计量单位换算',
                    ],
                    'goods_type' => [
                        'title' => '默认标题',
                    ],
                ]
            ],
            
            // 零售模块
            'retail' => [
                'title' => '零售',
                'children' => [
                    // 零售相关菜单项待补充
                ]
            ],
            
            // 资金模块
            'finance' => [
                'title' => '资金',
                'children' => [
                    'accounts' => [
                        'title' => '账户管理',
                    ],
                    'accounts_log' => [
                        'title' => '账户记录管理',
                    ],
                    'accounts_transfer' => [
                        'title' => '资金转账单',
                    ],
                    'income' => [
                        'title' => '其他收入单',
                    ],
                    'expenditure' => [
                        'title' => '其他支出单',
                    ],
                    'income_type' => [
                        'title' => '收入类别管理',
                    ],
                    'expend_type' => [
                        'title' => '支出类别管理',
                    ],
                    'settlementtype' => [
                        'title' => '结算方式管理',
                    ],
                    'payment_account' => [
                        'title' => '付款账户',
                    ],
                    'third_account' => [
                        'title' => '三方账户管理',
                    ],
                ]
            ],
            
            // 资料模块
            'data' => [
                'title' => '资料',
                'children' => [
                    'goods' => [
                        'title' => '商品管理',
                    ],
                    'customers' => [
                        'title' => '客户管理',
                    ],
                    'suppliers' => [
                        'title' => '供应商管理',
                    ],
                    'customerlevel' => [
                        'title' => '客户等级',
                    ],
                    'customertype' => [
                        'title' => '默认标题',
                    ],
                    'supplyertype' => [
                        'title' => '默认标题',
                    ],
                    'staff_member' => [
                        'title' => '职员管理',
                    ],
                    'driver' => [
                        'title' => '司机管理',
                    ],
                    'address' => [
                        'title' => '收货地址管理',
                    ],
                    'customer_goodscoding' => [
                        'title' => '客户物料编码',
                    ],
                    'suppliers_user' => [
                        'title' => '供应商联系人',
                    ],
                    'prefix' => [
                        'title' => '单号设置',
                    ],
                ]
            ],
            
            // 设置模块
            'settings' => [
                'title' => '设置',
                'children' => [
                    'sets' => [
                        'title' => '设置',
                    ],
                    'user_sets' => [
                        'title' => '设置',
                    ],
                    'datainfo' => [
                        'title' => '数据管理',
                    ],
                    'prints' => [
                        'title' => '打印',
                    ],
                    'banner' => [
                        'title' => '轮播管理',
                    ],
                    'checkout' => [
                        'title' => '结账/反结账',
                    ],
                    'initialization' => [
                        'title' => '重新初始化',
                    ],
                ]
            ],
            
            // 订货通模块
            'order' => [
                'title' => '订货通',
                'children' => [
                    'user_order' => [
                        'title' => '订货单',
                    ],
                ]
            ],
            
            // 其他未分类项
            'accounts_copewith' => [
                'title' => '应付账款明细管理',
            ],
            'accounts_receivable' => [
                'title' => '应收账款明细管理',
            ],
            'customers_recon' => [
                'title' => '客户对账单',
            ],
            'suppliers_recon' => [
                'title' => '供应商对账单',
            ],
            'profit' => [
                'title' => '利润表',
            ],
            'intercourse' => [
                'title' => '往来单位欠款表',
            ],
            'assemble' => [
                'title' => '组装单',
            ],
            'assemble_temp' => [
                'title' => '组装单模板',
            ],
            'split' => [
                'title' => '拆卸单',
            ],
            'split_temp' => [
                'title' => '拆卸单模板',
            ],
            'replenishment' => [
                'title' => '智能补货',
            ],
            'purchaseby' => [
                'title' => '以销定购',
            ],
            'writeoff' => [
                'title' => '核销单',
            ],
            'writeoff_log' => [
                'title' => '核销单据信息',
            ],
            'kuerp_user' => [
                'title' => '用户',
            ],
        ]
    ]
];